﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZetaPrints.ZetaClient.Shared.Manipulator
{
    /// <summary>
    /// This will transform a date format into anything
    /// </summary>
    public class DateManipulator
    {
        /// <summary>
        /// Will create a Zeta date time string format from a datetime class. 
        /// (ex.2007-11-14T21:24:29.620)
        /// </summary>
        /// <param name="dateTime"></param>
        /// <returns></returns>
        public static string ZetaDateTimeString(DateTime dateTime)
        {
            return dateTime.ToString("yyyy-MM-ddTHH:mm:ss.fff");
        }
    }
}
